﻿using PosClient.Model;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PosClient.Controls.ViewModel
{
    public class PluRowViewModel : ReactiveObject
    {
        private Plu _Plu;
        public Plu Plu 
        {
            get => _Plu;
            set => this.RaiseAndSetIfChanged(ref _Plu, value);
        }

        private bool _IsChecked;
        public bool IsChecked 
        {
            get => _IsChecked;
            set => this.RaiseAndSetIfChanged(ref _IsChecked, value);
        }

        private int _Index;
        public int Index
        {
            get => _Index;
            set => this.RaiseAndSetIfChanged(ref _Index, value);
        }

        private Color _ChooseColor;
        public Color ChooseColor
        {
            get => _ChooseColor;
            set => this.RaiseAndSetIfChanged(ref _ChooseColor, value);
        }
        public bool Screen
        {
            get => _Screen;
            set => this.RaiseAndSetIfChanged(ref _Screen, value);
        }
        private bool _Screen = true;
        public PluRowViewModel()
        { 
            
        }
    }
}
